package com.nanhang.service.impl;

import com.nanhang.entity.Classes;
import com.nanhang.mapper.ClassesMapper;
import com.nanhang.service.ClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassesServiceImpl implements ClassesService{

    @Autowired
    private ClassesMapper classesMapper;

    @Override
    public List<Classes> findCLASS() {
        return classesMapper.selectByExample(null);
    }
}
